package com.kmxd.ams.client.arrange.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 加载同类型盒信息
 *
 * @author ZuoLG
 */
@EqualsAndHashCode()
@Data
@Schema(description = "加载同类型盒信息")
public class LoadBoxDTO {

  /** 门类配置id 关联s_archive_type表主键 */
  @Schema(description = "门类配置id 关联s_archive_type表主键")
  @NotNull(message = "门类配置id 关联s_archive_type表主键不能为空")
  private Long archTypeId;

  @Schema(description = "文档的表名")
  @ExcelProperty(value = "文档的表名")
  private String docTableId;

  @Schema(description = "盒表名")
  @ExcelProperty(value = "盒表名")
  private String boxTableId;

  /** 文件ID列表 */
  @Schema(description = "文件ID列表")
  @TableField(exist = false)
  private String docIds;

  @Schema(description = "项目id")
  @TableField(exist = false)
  private Long projId;

  @Schema(description = "是否换盒")
  @TableField(exist = false)
  private Boolean switchBox;

  @Schema(description = "换盒的当前盒id")
  @TableField(exist = false)
  private Long switchBoxId;

  @Schema(description = "状态")
  private Integer status;
}
